<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/common/header.jsp"%>

<form id="pagerForm" method="post" action="../office/common/table/paging.html?tableName=m_content&jsp=base/content_list">
	<input type="hidden" name="pageNum" value="${page.currentPage}" />
	<input type="hidden" name="numPerPage" value="${page.pageSize}" />
</form>


<div class="pageContent" >
	<div class="panelBar">
		<ul class="toolBar">
			<li><a class="add" href="../office/common/table/view.html?tableName=m_content&jsp=base/content_edit" target="dialog" rel="dlg_page10" mask="true" title="添加平台用户信息"><span>添加</span></a><br /><br /></li>
			<li class="line">line</li>
			<li><a class="edit" href="../office/common/table/view.html?tableName=m_content&jsp=base/content_edit&idName=contentID&id={CONTENTID}" target="dialog" rel="dlg_page11" mask="true" title="修改平台用户信息"><span>修改</span></a></li>
			<li class="line">line</li>
			<li><a class="delete" href="../office/common/table/update.html?tableName=m_content&tableAction=delete&jsp=base/content_edit&idName=contentID&id={CONTENTID}" target="ajaxTodo" title="确定要删除吗?"><span>删除</span></a></li>
		</ul>
	</div>
	<table class="table" width="100%" layoutH="75">
		<thead>
			<tr>
				<th width="80">编号</th>
				<th width="120">创建人</th>
				<th width="120">创建时间</th>
				<th width="80">标题</th>
			</tr>

		</thead>
			<tbody>
			<c:if test="${! empty page.records }">
			<c:forEach var="vo" items="${page.records}">
			<tr target="CONTENTID" rel="${vo.CONTENTID}">
				<td>${vo.CONTENTID}</td>
				<td>${vo.CREATOR}</td>
				<td>${vo.CREATETIME}</td>
				<td>${vo.TITLE}</td>
			</tr>
			</c:forEach>
			</c:if>
		</tbody>
	</table>
	
	<div class="panelBar">
		<div class="pages">
			<span>显示</span>
			<select class="combox" name="numPerPage" onchange="navTabPageBreak({numPerPage:this.value})">
				<option value="10" <c:if test="${page.pageSize==10}">selected</c:if> >10</option>
				<option value="20" <c:if test="${page.pageSize==20}">selected</c:if> >20</option>
				<option value="50" <c:if test="${page.pageSize==50}">selected</c:if> >50</option>
			</select>
			<span>条，共${page.recordCount}条,共${page.pageCount}页，每页${page.pageSize}条，当前第${page.currentPage}页</span>
		</div>
		<div class="pagination" targetType="navTab" totalCount="${page.recordCount}" numPerPage="${page.pageSize}" pageNumShown="4" currentPage="${page.currentPage}"></div>
	</div>

</div>
